const KEY = 'Likede'
// 存
export const setToken = (token) => localStorage.setItem(KEY, token)
// 取
export const getToken = () => localStorage.getItem(KEY)
// 删
export const delToken = () => localStorage.removeItem(KEY)
// 存储用户id
export const userid = (id) => localStorage.setItem('userId', id)
// 取用户id
export const getuserId = () => localStorage.getItem('userId')
// 删除用户id
export const deluserid = () => localStorage.setItem('userId')
